How to slice a float from between 2 strings